cmake_minimum_required(VERSION 3.0.2)
project(competition_stage1)

find_package(catkin REQUIRED COMPONENTS
  gazebo_ros
)

catkin_package()

# 安装world文件
install(DIRECTORY worlds/
  DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/worlds
)

# 安装模型文件
install(DIRECTORY models/
  DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/models
)

# 安装材质文件
install(DIRECTORY materials/
  DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/materials
)
